package com.data;

public class UpData {
    //属性
    private int sum=0;
    private int wrong=0;
    private int correct=0;

    //方法
    public void init(){
        sum=0;
        wrong=0;
        correct=0;
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public int getWrong() {
        return wrong;
    }

    public void setWrong(int wrong) {
        this.wrong = wrong;
    }

    public int getCorrect() {
        return correct;
    }

    public void setCorrect(int correct) {
        this.correct = correct;
    }
}
